package kr.co.handysoft.smartPolice.server.handler.info;

import java.io.IOException;
import java.io.StringReader;

import net.sf.json.JSONObject;

import org.jdom.Document;
import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;

public class ClientConfigSetupHandler implements InfoServerHandler {

	@Override
	public JSONObject invoke(String cmd) {
		System.out.println("ClientConfigSetupHandler.invoke : " + cmd);
		try {
			SAXBuilder builder = new SAXBuilder();
			Document doc = builder.build(new StringReader(cmd));
		} catch (JDOMException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
		return new JSONObject();
	}

}
